package com.yanchangapp.model.request;

import com.yanchangapp.commom.AppConstant;

/**
 * Created by apple on 2019-08-05.
 * description: 合同列表请求体...
 *
 *         queryParams: {
 *           status: null,
 *           startTime: null,
 *           endTime: null,
 *           keyword: null,
 *           currPage: 1,
 *           pageSize: 10
 *         }
 */
public class ContractListRequest {
    private String status;
    private String startTime;
    private String endTime;
    private String keyword;
    private int currPage;
    private int pageSize = AppConstant.ONE_PAGE_SIZE;

    public ContractListRequest(String status,
                               String startTime,
                               String endTime,
                               String keyword,
                               int currPage) {
        this.status = status;
        this.startTime = startTime;
        this.endTime = endTime;
        this.keyword = keyword;
        this.currPage = currPage;
    }
}
